<?php include_stylesheets_for_form($form); ?>
<?php include_javascripts_for_form($form); ?>

<form class="form-horizontal" id="form_nota_avaliacao" action="<?php echo url_for('nota_avaliacao/'.($form->getObject()->isNew() ? 'create' : 'update').(!$form->getObject()->isNew() ? '?id_nota_avaliacao='.$form->getObject()->getIdNotaAvaliacao() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
<?php if (!$form->getObject()->isNew()): ?>
<input type="hidden" name="sf_method" value="put" />
<input type="hidden" name="id_nota_avaliacao" value="<?php echo $form->getObject()->getIdNotaAvaliacao() ?>" />
<?php endif; ?>
	<?php echo $form->renderHiddenFields() ?>

<fieldset>
	<legend>Dados nota_avaliacao</legend>
		    <?php echo $form->renderGlobalErrors() ?>
				<div class="control-group">
			<label class="control-label" for="nota_avaliacao_id_aluno_turma"><?php echo $form['id_aluno_turma']->getWidget()->getLabel() ?></label>
			<div class="controls">
				<?php
		        	echo $form['id_aluno_turma']->render(
		        		array(
		        			'placeholder' => $form['id_aluno_turma']->getWidget()->getLabel()
		        		)
		        	)
		        ?>
		        <?php echo form_error('nota_avaliacao[id_aluno_turma]'); ?>
			</div>
		</div>
				<div class="control-group">
			<label class="control-label" for="nota_avaliacao_id_turma_avaliacao"><?php echo $form['id_turma_avaliacao']->getWidget()->getLabel() ?></label>
			<div class="controls">
				<?php
		        	echo $form['id_turma_avaliacao']->render(
		        		array(
		        			'placeholder' => $form['id_turma_avaliacao']->getWidget()->getLabel()
		        		)
		        	)
		        ?>
		        <?php echo form_error('nota_avaliacao[id_turma_avaliacao]'); ?>
			</div>
		</div>
				<div class="control-group">
			<label class="control-label" for="nota_avaliacao_nu_nota"><?php echo $form['nu_nota']->getWidget()->getLabel() ?></label>
			<div class="controls">
				<?php
		        	echo $form['nu_nota']->render(
		        		array(
		        			'placeholder' => $form['nu_nota']->getWidget()->getLabel()
		        		)
		        	)
		        ?>
		        <?php echo form_error('nota_avaliacao[nu_nota]'); ?>
			</div>
		</div>
				<div class="control-group">
			<label class="control-label" for="nota_avaliacao_st_nota_avaliacao"><?php echo $form['st_nota_avaliacao']->getWidget()->getLabel() ?></label>
			<div class="controls">
				<?php
		        	echo $form['st_nota_avaliacao']->render(
		        		array(
		        			'placeholder' => $form['st_nota_avaliacao']->getWidget()->getLabel()
		        		)
		        	)
		        ?>
		        <?php echo form_error('nota_avaliacao[st_nota_avaliacao]'); ?>
			</div>
		</div>
				<div class="control-group">
			<label class="control-label" for="nota_avaliacao_created_at"><?php echo $form['created_at']->getWidget()->getLabel() ?></label>
			<div class="controls">
				<?php
		        	echo $form['created_at']->render(
		        		array(
		        			'placeholder' => $form['created_at']->getWidget()->getLabel()
		        		)
		        	)
		        ?>
		        <?php echo form_error('nota_avaliacao[created_at]'); ?>
			</div>
		</div>
				<div class="control-group">
			<label class="control-label" for="nota_avaliacao_updated_at"><?php echo $form['updated_at']->getWidget()->getLabel() ?></label>
			<div class="controls">
				<?php
		        	echo $form['updated_at']->render(
		        		array(
		        			'placeholder' => $form['updated_at']->getWidget()->getLabel()
		        		)
		        	)
		        ?>
		        <?php echo form_error('nota_avaliacao[updated_at]'); ?>
			</div>
		</div>
			</fieldset>

<?php
	comandos_form(
		'<button class="btn btn-primary" type="submit">:: Salvar ::</button>',
		link_to(
			':: Listar ::',
			'nota_avaliacao/list',
			array('class' => 'btn')
		)
	);
?>
  
</form>